package cc.taofoo.methodFactory;

import cc.taofoo.utils.XMLUtils;

/**
 * @author 陶福
 * methodFactory 为 工厂设计模式
 */

public class Main {
    public static void main(String[] args) {
        EFactory eFactory = (EFactory) XMLUtils.getBeanFromXml("TVFactory");
        eFactory.getTV().run();
    }
}
